class CreateIncidents < ActiveRecord::Migration
  def self.up
    create_table :incidents do |t|
      t.string :title
      t.integer :category_id
      t.integer :place_id
      t.text :notes
      t.string :status
      t.decimal :lat, :precision => 20, :scale => 15
      t.decimal :lng, :precision => 20, :scale => 15

      t.timestamps
    end
  end

  def self.down
    drop_table :incidents
  end
end
